/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.event;

import hope.platform.data.domain.HopeException;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/24 11:17
 */
public class ExceptionEvent extends ApplicationEvent {

    @Setter
    @Getter
    private HopeException hopeException;

    public ExceptionEvent(Object source, HopeException hopeException) {
        super(source);
        this.hopeException = hopeException;
    }
}
